/*
 * watchdog.h
 *
 *  Created on: Sep 5, 2013
 *      Author: Ken Arok
 *
 *      Revision history:
 *      ---------------------------------------------------------
 *      Date			|	Revised by		|	Description
 *      ---------------------------------------------------------
 *      1. Sep 5, 2013	|	Yosef			| New establishment
 *
 *
 *
 * \brief Watchdog Timer Library.
 *
 * Copyright (c) 2013 PT Hanindo Automation Solutions. All rights reserved.
 *
 */

#ifndef WATCHDOG_H_
#define WATCHDOG_H_

typedef enum {
	WDT_GET_TIMEOUT_MS = 0,
	WDT_GET_TIMEBAN,
	WDT_CLEAR,
	WDT_RESET_MCU,
	WDT_ENABLE,
	WDT_REENABLE,
	WDT_DISABLE,
	WDT_SET_TIMEOUT,
	WDT_SET_MODE,
	WDT_DISABLE_AFTER_RESET,
	WDT_STORE_FINAL_VALUE
} watchdog_timer_ctrl_t;


void vWatchdogTimerCtrl(watchdog_timer_ctrl_t _ctrl, void *_pValue);

#endif /* WATCHDOG_H_ */
